//
//  GLHero.h
//  QAQ打飞机
//
//  Created by admin on 15/8/28.
//  Copyright (c) 2015年 gl. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface GLHero : NSObject
//自定义init方法
-(id)initWithArea:(CGRect)gameArea size:(CGSize)heroSize;

//位置
@property(assign,nonatomic) CGPoint position;

//尺寸
@property(assign,nonatomic) CGSize size;

#pragma mark -炸弹数量
@property(assign,nonatomic) NSInteger bombCount;
#pragma mark -是否增强子弹
@property(assign,nonatomic) BOOL bEnhanced;
#pragma mark -增强的时间
@property(assign,nonatomic) NSInteger enhancedTime;

//--------子弹的辅助的尺寸------
#pragma mark -普通子弹的尺寸
@property(assign,nonatomic) CGSize normalBulletSize;
#pragma mark -增强子弹的尺寸
@property(assign,nonatomic) CGSize enhancedBulletSize;
#pragma mark -子弹集合
@property(strong,nonatomic) NSMutableSet *heroBulletSet;

#pragma mark -发射子弹
-(void)fire3Bullet;
#pragma mark -英雄碰撞检测边框的getter
-(CGRect)collisionFrame;
@end
